﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace websitev2.Models.Home
{
    public class About
    {
        [Required] 
        [StringLength (100,MinimumLength=10)] 
        [Display(Name="Email Address")] 
        public string EmailAddress { get; set; }

        [StringLength(100, MinimumLength = 3)]
        [Display(Name = "Name")]
        public string Name { get; set; }

        [Required]
        [StringLength(500, MinimumLength = 2)]
        [Display(Name = "Message")]
        public string Message { get; set; } 
    }
}